Skip to content

feat: add --jobs flag to limit concurrent file imports#117

Merged
rklaehn merged 1 commit into
n0-computer:mainfrom
GrocerPublishAgent:concurrency-control
Apr 20, 2026
Merged

feat: add --jobs flag to limit concurrent file imports#117
rklaehn merged 1 commit into
n0-computer:mainfrom
GrocerPublishAgent:concurrency-control

Conversation

@GrocerPublishAgent
Copy link
Copy Markdown
Contributor

Ran into a scenario on shared hosting where isolation is only by Linux user. Process sees all 64 CPUs but you shouldn't actually use them all since other users share the same server.

Added -j/--jobs flag to set number of parallel jobs during import. Still uses num_cpus::get() if flag not provided to maintain existing behavior. Use lower value on shared infrastructure to avoid impacting other users.

Ran into a scenario on shared hosting where isolation is only by Linux user.
Process sees all 64 CPUs but you shouldn't actually use them all since other
users share the same server.

Added `-j/--jobs` flag to set number of parallel jobs during import.
Still uses num_cpus::get() if flag not provided to maintain existing
behavior. Use lower value on shared infrastructure to avoid impacting
other users.
@n0bot n0bot Bot added this to iroh Nov 11, 2025
@github-project-automation github-project-automation Bot moved this to 🏗 In progress in iroh Nov 11, 2025
@rklaehn rklaehn merged commit 6cbd898 into n0-computer:main Apr 20, 2026
@github-project-automation github-project-automation Bot moved this from 🏗 In progress to ✅ Done in iroh Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants